package org.digital.entity.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("digital_clients")
public class Client {

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    private Integer venueId;

    private Integer type;

    private String username;

    private String password;

    private Integer qos;

    private Integer state;

    private Date createdAt;

    private Date updatedAt;
    @TableLogic
    private Date deletedAt;

    @TableField("to_topic")
    private String toTopic;

    @TableField("from_topic")
    private String fromTopic;
}
